package com.markerhub.service;

import com.markerhub.entity.SysMajor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wang
 * @since 2022-03-31
 */
public interface SysMajorService extends IService<SysMajor> {

    List<SysMajor> listMajorsByCollegeId(Long id);
    Long getIdByMajor(String major);

    SysMajor getByMajorNme(String oldName);

    SysMajor getObject(String major);


    String getMajorNameById(Long major);

}
